/**
 * 
 */
package com.ambow.dao;

import java.util.List;

import com.ambow.Entity.TextBook;

/**
 * @author Administrator
 * @param ���鼮�Ĳ���
 */
public interface TextBookDao {
	public List<TextBook> TextBookQuery(String sql, String[] param);

	public TextBook TextBookQueryByOne(Class c, int id);

	public TextBook queryByHql(String hql, String[] param);

	/**
	 *<p>Title: queryAllBook</p>  
	 *<p>Description: </p>
	 * @param
	 * @return
	 * @param hql
	 * @return
	 */
	public List<TextBook> queryAllBook(String hql);

	/**
	 *<p>Title: queryBook</p>  
	 *<p>Description: </p>
	 * @param
	 * @return
	 * @param hql
	 * @return
	 */
	public TextBook queryBook(String hql);
}
